#!/bin/bash

read -p "stop all containers"
docker stop $(docker ps -a -q)

read -p "sync aid"
rclone sync --verbose --progress --create-empty-src-dirs /aid/ /mnt/backup/aid/

read -p "start all containers"
docker start $(docker ps -a -q)